package com.trkj.property_controller;

import com.trkj.service.JiFeiXiangMuService;
import com.trkj.vo.AjaxResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@Slf4j
@CrossOrigin
public class JiFeiXiangMuController {
    @Resource
    private JiFeiXiangMuService jiFeiXiangMuService;
    //查询所有计费项目
    @PostMapping("/BillingltemsList")
    public AjaxResponse BillingltemsList(){
        return AjaxResponse.success(jiFeiXiangMuService.BillingltemsList());
    }
}
